package com.validated.annotation;

import java.lang.annotation.*;

/**
 * 非空
 *
 * @author Moo
 * @date 2023/05/11
 */
@Documented
@Target({ElementType.FIELD,  ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotNull {

    String  msg() default "非空";


}

